a11y: Hack around infinite loops in parent setting
authorBenjamin Otte <otte@redhat.com>
Mon, 3 Oct 2011 15:05:40 +0000 (17:05 +0200)
committerMatthias Clasen <mclasen@redhat.com>
Tue, 25 Oct 2011 11:38:36 +0000 (07:38 -0400)
commitb195c7dbb204403f8cb51a40151b9d39d38abafc
treeae1b55aa72155ccb7cec05bcedc3c2a2df9e6acd
parent7d165b67f9a0e7507dae94a4f45dcd2cdb90ed77
a11y: Hack around infinite loops in parent setting

This is kind of a hack to get rid of infinite loops that occur when
child accessibles try to set their parent upon creation but the parent
accessible creates its children in the initialize vfunc. Because in that
case, the parent will not have an accessible set when the child tries to
access it, because it is still initializing itself. Which will cause a
new accessible to be created.

https://bugzilla.gnome.org/show_bug.cgi?id=660687
gtk/gtkwidget.c